package com.cyandpos.pad.reprintticket.reprintModel;

import android.content.Context;

import com.cyandpos.pad.posdata.QueryOrderReq;

public interface IReprintTicketModel {
    /**
     * 从网络上获取小票信息
     *
     * @param req
     * @param listener
     */
    void askForHttp(QueryOrderReq req, ReprintTicketTicketModel.ReprintTicketDoModelListener listener);

//    /**
//     * 读本地小票
//     *
//     * @param oldSaleId
//     * @param context
//     * @return 本地未读到小票返回false
//     */
      int readFromlocation(int flag, String oldSaleId, Context context);


}
